home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / LWUSBHID.IN_ / lwusbhid.inf
Encoding:
Windows Setup INFormation  |  2003-03-24  |  8.5 KB  |  238 lines

  1. [Version]
  2. Signature="$CHICAGO$"
  3. Class=HIDClass
  4. ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
  5. Provider=%VENDOR%
  6. LayoutFile=layout.inf
  7. DriverVer=10/01/2002,5.2.3790.0
  8.  
  9. [DestinationDirs]
  10. LwJoy.CopyFilesDLL    = 11    ;%SystemRoot%\system32
  11. LwJoy.CopyFilesSYS  = 10,system32\drivers
  12.  
  13. [ControlFlags]
  14. ExcludeFromSelect = USB\VID_046D&PID_C281
  15. ExcludeFromSelect = USB\VID_046D&PID_C291
  16.  
  17. [Manufacturer]
  18. %VENDOR%=Standard
  19.  
  20. [Standard]
  21. ; These are the USB devices
  22. %USB\VID_046D&PID_C281.DeviceDesc% = LwJoy.WgmForce,,USB\VID_046D&PID_C281
  23. %USB\VID_046D&PID_C291.DeviceDesc% = LwJoy.RallyForce,,USB\VID_046D&PID_C291
  24.  
  25. ;------------- 9x INSTALL ---------------------------------------------
  26. [LwJoy.WgmForce]
  27. CopyFiles = LwJoy.CopyFilesSYS, LwJoy.CopyFilesDLL
  28. AddReg    = LwJoy.UsbPnp.AddReg, LwJoy.WgmForce.AddReg
  29.  
  30. [LwJoy.RallyForce]
  31. CopyFiles = LwJoy.CopyFilesSYS, LwJoy.CopyFilesDLL
  32. AddReg    = LwJoy.UsbPnp.AddReg, LwJoy.RallyForce.AddReg
  33.  
  34. ;------------- NT INSTALL ---------------------------------------------
  35. [LwJoy.WgmForce.NT]
  36. ;Include=    ks.inf, lvkscap.inf, ksfilter.inf
  37. ;Needs=      KS.Registration,LKSCAPTUR.Registration
  38. CopyFiles = LwJoy.CopyFilesSYS, LwJoy.CopyFilesDLL
  39. AddReg    = LwJoy.UsbPnp.AddReg, LwJoy.WgmForce.AddReg
  40.  
  41. [LwJoy.RallyForce.NT]
  42. ;Include=    ks.inf, lvkscap.inf, ksfilter.inf
  43. ;Needs=      KS.Registration,LKSCAPTUR.Registration
  44. CopyFiles = LwJoy.CopyFilesSYS, LwJoy.CopyFilesDLL
  45. AddReg    = LwJoy.UsbPnp.AddReg, LwJoy.RallyForce.AddReg
  46.  
  47.  
  48. [LwJoy.WgmForce.NT.Services]
  49. AddService = LwUsbHid,0x00000002,LwJoy.WgmForce.Service_Inst
  50.  
  51. [LwJoy.RallyForce.NT.Services]
  52. AddService = LwUsbHid,0x00000002,LwJoy.RallyForce.Service_Inst
  53.  
  54. [LwJoy.WgmForce.Service_Inst]
  55. DisplayName     = %USB\VID_046D&PID_C281.DeviceDesc%
  56. ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
  57. StartType       = 3                  ; SERVICE_DEMAND_START
  58. ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
  59. ServiceBinary   = %12%\LwUsbHid.sys
  60. ;LoadOrderGroup  = Extended Base
  61.  
  62. [LwJoy.RallyForce.Service_Inst]
  63. DisplayName     = %USB\VID_046D&PID_C291.DeviceDesc%
  64. ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
  65. StartType       = 3                  ; SERVICE_DEMAND_START
  66. ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
  67. ServiceBinary   = %12%\LwUsbHid.sys
  68. ;LoadOrderGroup  = Extended Base
  69.  
  70. ;-------------COPY FILE ---------------------------------------------
  71. [LwJoy.CopyFilesSYS]
  72. ; driver files to copy
  73. LwUsbHid.sys
  74. hidparse.sys
  75. hidclass.sys
  76.  
  77.  
  78. [LwJoy.CopyFilesDLL]
  79. ; dll files to copy
  80. hid.dll
  81. pid.dll
  82.  
  83. ;-------------ADD REG ---------------------------------------------
  84. ; --- bus
  85. [LwJoy.GamePort.AddReg]
  86. ; if we need to add something for the game port
  87. ; empty for now
  88.  
  89. [LwJoy.UsbPnp.AddReg]
  90. HKR,,DevLoader,,*ntkern
  91. HKR,,NTMPDriver,,"LwUsbHid.sys"
  92. HKCR,CLSID\%LwForce.CLSID%,,0,%LwForce.CLSID.Description%
  93. HKCR,CLSID\%LwForce.CLSID%\InProcServer32,,0,%11%\%LwForce.CLSID.DllName%
  94. HKCR,CLSID\%LwForce.CLSID%\InProcServer32,ThreadingModel,0,Both
  95.  
  96. [LwJoy.WgmForce.AddReg]
  97. HKR,,DriverDesc,,%USB\VID_046D&PID_C281.DeviceDesc%
  98. HKLM,%WgmOem.WgmForce%,OEMName,,%USB\VID_046D&PID_C281.DeviceDesc%
  99. HKLM,%WgmOem.WgmForce%,OEMData,1,03,00,00,10,09,00,00,00
  100. ;if i put this key, the game ctrl stop call the device for position
  101. ;HKLM,%WgmOem.WgmForce%,ConfigCLSID,,%LwForce.CLSID%
  102. ;HKLM,%WgmOem.WgmForce%,OEMCallout,,%LwForce.CLSID.SysName%
  103.  
  104. ;HKLM,%WgmOem.WgmForce%\OEMForceFeedback,Attributes,1,00,00,00,00,E8,03,00,00,E8,03,00,00
  105. ;HKLM,%WgmOem.WgmForce%\OEMForceFeedback,CLSID,,%LwForce.CLSID%
  106. ; for 98 with vxd
  107. ;HKLM,%WgmOem.WgmForce%\OEMForceFeedback,VJoyD,,""
  108.  
  109. ;   Force
  110. HKLM,%WgmOem.WgmForce%\Axes\0,,,%LwForce.XAxis.Desc%
  111. HKLM,%WgmOem.WgmForce%\Axes\0,Attributes,1,01,01,00,00,01,00,30,00
  112. HKLM,%WgmOem.WgmForce%\Axes\0,FFAttributes,1,0A,00,00,00,00,01,00,00
  113. HKLM,%WgmOem.WgmForce%\Axes\1,,,%LwForce.YAxis.Desc%
  114. HKLM,%WgmOem.WgmForce%\Axes\1,Attributes,1,01,01,00,00,01,00,31,00
  115. HKLM,%WgmOem.WgmForce%\Axes\1,FFAttributes,1,0A,00,00,00,00,01,00,00
  116. HKLM,%WgmOem.WgmForce%\Axes\2,,,%LwForce.ZAxis.Desc%
  117. HKLM,%WgmOem.WgmForce%\Axes\2,Attributes,1,01,01,00,00,01,00,32,00
  118. HKLM,%WgmOem.WgmForce%\Axes\2,FFAttributes,1,0A,00,00,00,00,01,00,00
  119.  
  120. HKLM,%WgmOem.WgmForce%\Buttons\0,,,%LwForce.Button0.Desc%
  121. HKLM,%WgmOem.WgmForce%\Buttons\0,Attributes,1,02,00,00,00,09,00,01,00
  122. HKLM,%WgmOem.WgmForce%\Buttons\1,,,%LwForce.Button1.Desc%
  123. HKLM,%WgmOem.WgmForce%\Buttons\1,Attributes,1,02,00,00,00,09,00,02,00
  124. HKLM,%WgmOem.WgmForce%\Buttons\2,,,%LwForce.Button2.Desc%
  125. HKLM,%WgmOem.WgmForce%\Buttons\2,Attributes,1,02,00,00,00,09,00,03,00
  126. HKLM,%WgmOem.WgmForce%\Buttons\3,,,%LwForce.Button3.Desc%
  127. HKLM,%WgmOem.WgmForce%\Buttons\3,Attributes,1,02,00,00,00,09,00,04,00
  128. HKLM,%WgmOem.WgmForce%\Buttons\4,,,%LwForce.Button4.Desc%
  129. HKLM,%WgmOem.WgmForce%\Buttons\4,Attributes,1,02,00,00,00,09,00,05,00
  130. HKLM,%WgmOem.WgmForce%\Buttons\5,,,%LwForce.Button5.Desc%
  131. HKLM,%WgmOem.WgmForce%\Buttons\5,Attributes,1,02,00,00,00,09,00,06,00
  132. HKLM,%WgmOem.WgmForce%\Buttons\6,,,%LwForce.Button6.Desc%
  133. HKLM,%WgmOem.WgmForce%\Buttons\6,Attributes,1,02,00,00,00,09,00,07,00
  134. HKLM,%WgmOem.WgmForce%\Buttons\7,,,%LwForce.Button7.Desc%
  135. HKLM,%WgmOem.WgmForce%\Buttons\7,Attributes,1,02,00,00,00,09,00,08,00
  136. HKLM,%WgmOem.WgmForce%\Buttons\8,,,%LwForce.Button8.Desc%
  137. HKLM,%WgmOem.WgmForce%\Buttons\8,Attributes,1,02,00,00,00,09,00,09,00
  138.  
  139.  
  140. ;Wingman Rally USB
  141. [LwJoy.RallyForce.AddReg]
  142. HKR,,DriverDesc,,%USB\VID_046D&PID_C291.DeviceDesc%
  143. HKLM,%WgmOem.WgmRally%,OEMName,,%USB\VID_046D&PID_C291.DeviceDesc%
  144. HKLM,%WgmOem.WgmRally%,OEMData,1,01,00,00,10,06,00,00,00
  145. ;HKLM,%WgmOem.WgmRally%,ConfigCLSID,,%LwForce.CLSID%
  146. HKLM,%WgmOem.WgmRally%,OEMCallout,,%LwForce.CLSID.SysName%
  147.  
  148. ;   Force
  149. HKLM,%WgmOem.WgmRally%\Axes\0,,,%LwForce.XAxis.Desc%
  150. HKLM,%WgmOem.WgmRally%\Axes\0,Attributes,1,01,01,00,00,01,00,30,00
  151. HKLM,%WgmOem.WgmRally%\Axes\0,FFAttributes,1,0A,00,00,00,00,01,00,00
  152. HKLM,%WgmOem.WgmRally%\Axes\1,,,%LwForce.YAxis.Desc%
  153. HKLM,%WgmOem.WgmRally%\Axes\1,Attributes,1,01,01,00,00,01,00,31,00
  154. HKLM,%WgmOem.WgmRally%\Axes\1,FFAttributes,1,0A,00,00,00,00,01,00,00
  155. HKLM,%WgmOem.WgmRally%\Axes\2,,,%LwForce.ZAxis.Desc%
  156. HKLM,%WgmOem.WgmRally%\Axes\2,Attributes,1,01,01,00,00,01,00,32,00
  157. HKLM,%WgmOem.WgmRally%\Axes\2,FFAttributes,1,0A,00,00,00,00,01,00,00
  158. HKLM,%WgmOem.WgmRally%\Buttons\0,,,%LwForce.Button0.Desc%
  159. HKLM,%WgmOem.WgmRally%\Buttons\0,Attributes,1,02,00,00,00,09,00,01,00
  160. HKLM,%WgmOem.WgmRally%\Buttons\1,,,%LwForce.Button1.Desc%
  161. HKLM,%WgmOem.WgmRally%\Buttons\1,Attributes,1,02,00,00,00,09,00,02,00
  162. HKLM,%WgmOem.WgmRally%\Buttons\2,,,%LwForce.Button2.Desc%
  163. HKLM,%WgmOem.WgmRally%\Buttons\2,Attributes,1,02,00,00,00,09,00,03,00
  164. HKLM,%WgmOem.WgmRally%\Buttons\3,,,%LwForce.Button3.Desc%
  165. HKLM,%WgmOem.WgmRally%\Buttons\3,Attributes,1,02,00,00,00,09,00,04,00
  166. HKLM,%WgmOem.WgmRally%\Buttons\4,,,%LwForce.Button4.Desc%
  167. HKLM,%WgmOem.WgmRally%\Buttons\4,Attributes,1,02,00,00,00,09,00,05,00
  168. HKLM,%WgmOem.WgmRally%\Buttons\5,,,%LwForce.Button5.Desc%
  169. HKLM,%WgmOem.WgmRally%\Buttons\5,Attributes,1,02,00,00,00,09,00,06,00
  170. ;------------- STRING ---------------------------------------------
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203. [Strings]
  204. ;localized strings
  205. VENDOR = "Logitech"
  206. ;wingman force
  207. USB\VID_046D&PID_C281.DeviceDesc = "Logitech WingMan Force USB"
  208. ;wingman rally
  209. USB\VID_046D&PID_C291.DeviceDesc="Logitech WingMan Formula Force USB"
  210. LwForce.CLSID.Description="PID Force Feedback Joystick Effect Driver"
  211. LwForce.XAxis.Desc="X axis"
  212. LwForce.YAxis.Desc="Y axis"
  213. LwForce.ZAxis.Desc="Z axis"
  214. LwForce.Button0.Desc="Trigger"
  215. LwForce.Button1.Desc="Thumb Button"
  216. LwForce.Button2.Desc="Button2"
  217. LwForce.Button3.Desc="Button3"
  218. LwForce.Button4.Desc="Button4"
  219. LwForce.Button5.Desc="Button5"
  220. LwForce.Button6.Desc="Button6"
  221. LwForce.Button7.Desc="Button7"
  222. LwForce.Button8.Desc="Button8"
  223. LwForce.Button9.Desc="Button9"
  224.  
  225. ;
  226. ; non localized strings
  227. ; registry key
  228. WgmOem.WgmForce     = "System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_046D&PID_C281"
  229. WgmOem.WgmForce.Effect    = "System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_046D&PID_C281\OEMForceFeedback\Effects"
  230. WgmOem.WgmRally        = "System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_046D&PID_C291"
  231. WgmOem.WgmRally.Effect    = "System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_046D&PID_C291\OEMForceFeedback\Effects"
  232.  
  233. ;force for all force device
  234. LwForce.CLSID="{EEC6993A-B3FD-11D2-A916-00C04FB98638}"
  235. LwForce.CLSID.DllName="pid.dll"
  236. LwForce.CLSID.SysName=""
  237.  
  238.